<template>
<div class="welcome">欢迎{{this.$store.state.username}}</div>
</template>

<script>
import {mapState} from "vuex";

export default {
  name: "WelcomeView",
  data() {
    return {}
  },
  methods: {},
}
</script>

<style scoped>
.welcome {
  background-image: url("../assets/壁纸.jpg");

  height: 480px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
}

</style>